#include <57header.h>

int main(int argc,char*argv[])
{
    int pipe_fd = open("1.pipe", O_RDONLY);

    while(1){

        char buf[60] = {0};
        int res_read = read(pipe_fd, buf, sizeof(buf));
        printf("read once: %s, res_read: %d \n", buf, res_read);
    }

    close(pipe_fd);
    return 0;
}

